package com.cake.liulanxiangzhu.mapper;
import java.util.List;

import com.cake.liulanxiangzhu.pojo.vo.AdminBannerVO;
import org.apache.ibatis.annotations.Param;

import com.cake.liulanxiangzhu.pojo.entity.AdminBanner;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
* @author Administrator
* @description 针对表【admin_banner】的数据库操作Mapper
* @createDate 2023-01-13 13:39:31
* @Entity com.cake.liulanxiangzhu.pojo.entity.AdminBanner
*/
@Repository
public interface AdminBannerMapper extends BaseMapper<AdminBanner> {
    int insertAll(AdminBanner adminBanner);


    AdminBannerVO selectAllByBannerId(@Param("bannerId") Integer bannerId);

    AdminBanner selectBannerIconByBannerId(@Param("bannerId") Integer bannerId);

    int countByBannerName(@Param("bannerName") String bannerName);

}




